﻿using BCCommon.Extensions;
using BCCommon.TMS.Transport;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.VehicleTransportBusinessConfig
{
    /// <summary>
    /// 车辆运输业务配置
    /// </summary>
    public class VehicleTransportBusinessConfigDto
    {
        /// <summary>
        /// 车辆运输业务配置Id
        /// </summary>
        public int VehicleTransportBusinessConfigId { get; set; }

        /// <summary>
        /// 运输业务
        /// </summary>
        public TransportBusinessType TransportBusiness { get; set; }

        /// <summary>
        /// 运输业务描述
        /// </summary>
        public string TransportBusinessStr { get { return this.TransportBusiness.GetDescriptionString(); } }

        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 运输业务顺序
        /// </summary>
        public int BusinessOrder { get; set; }

        /// <summary>
        /// 业务描述
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 同城计费模式
        /// </summary>
        public TransportSameCityChargingMode? SameCityChargingMode { get; set; }
        /// <summary>
        /// 同城途经点附加费金额
        /// </summary>
        public decimal? SameCityPointSurchargeAmount { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string EditAdminName { get; set; }
    }
}
